    	<script type="text/javascript">
 			$(function(){
 	 			$('#datepicker').datepicker({changeYear: true,changeMonth:true ,showButtonPanel: true,yearRange:"150:2020"});
 			});
 		</script>
    	<form action="<?php echo $this->url(array("controller"=>"user","action"=>"add"))?>" method="post" id="insert-form">
   
                <div class="form-left">
                    <label for="username">Tên Đăng Nhập: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <input type="text" name="username" class="txt" id="username" /><?php echo $this->trungten?>
                </div>
                <div class="form-left">
                    <label for="password">Mật Khẩu: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <input type="password" name="password" class="password" id="password" />
                </div>
                <div class="form-left">
                    <label for="email">Email: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <input type="text" name="email" class="txt" id="email" />
                </div>
                <div class="form-left">
                    <label for="gender">Giới tính: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <select name="gender">
                    <option value="male">Nam</option>
                    <option value="female">Nữ</option>
                    </select>
                </div>
                <div class="form-left">
                    <label for="DOB">Ngày Sinh: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <input type="text" name="DOB" class="txt" id="datepicker" />
                </div>
              	<div class="form-left">
                    <label for="title">Address: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <input type="text" name="address" class="txt" id="address" />
                </div>
                
                <div class="form-left">
                    <label for="theme">Kích Hoạt: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <select name="active">
                    <option value="1">Kích Hoạt</option>
                    <option value="0">Không Kích Hoạt</option>
                    </select>
                </div>
               
                <div class="clear" style="text-align:right; width:372px">
                    <input type="submit" value="Save" style="float:right" />
                </div>
 			</form>